﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    public partial class IoTbInsureResultFour
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long SerialNo { get; set; }
        /// <summary>
        /// 住院流水号
        /// </summary>
        public long? RegNo { get; set; }
        /// <summary>
        /// 新住院流水号
        /// </summary>
        public long? NewRegNo { get; set; }
        /// <summary>
        /// 医保计算序号
        /// </summary>
        public string? CalcNo { get; set; }
        /// <summary>
        /// 卡类型
        /// </summary>
        public string? CardType { get; set; }
        /// <summary>
        /// 卡号
        /// </summary>
        public string? CardData { get; set; }
        /// <summary>
        /// 出院结算标志
        /// </summary>
        public string? OutFlag { get; set; }
        /// <summary>
        /// 结账开始时间
        /// </summary>
        public DateTime? FromTime { get; set; }
        /// <summary>
        /// 结账结束时间
        /// </summary>
        public DateTime? ToTime { get; set; }
        /// <summary>
        /// 结账天数
        /// </summary>
        public decimal? Days { get; set; }
        /// <summary>
        /// 科室编码
        /// </summary>
        public string? Ksid { get; set; }
        /// <summary>
        /// 科室名称
        /// </summary>
        public string? Ksna { get; set; }
        /// <summary>
        /// 住院号
        /// </summary>
        public string? HospNo { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string? PatName { get; set; }
        /// <summary>
        /// 医保凭证号（证件号）
        /// </summary>
        public string? BxId { get; set; }
        /// <summary>
        /// 医保卡号前十
        /// </summary>
        public string? YbId { get; set; }
        /// <summary>
        /// 住院急观标识
        /// </summary>
        public string? Zyjgbz { get; set; }
        /// <summary>
        /// 诊断编码
        /// </summary>
        public string? Icd10 { get; set; }
        /// <summary>
        /// 诊断名称
        /// </summary>
        public string? IcdName { get; set; }
        /// <summary>
        /// 个人性质、职退情况
        /// </summary>
        public string? Grxz { get; set; }
        /// <summary>
        /// 特殊人员标志
        /// </summary>
        public string? PatType { get; set; }
        /// <summary>
        /// 起付段现金支付数
        /// </summary>
        public decimal? GrxjD { get; set; }
        /// <summary>
        /// 统筹段现金支付数
        /// </summary>
        public decimal? GrxjTc { get; set; }
        /// <summary>
        /// 附加段现金支付数
        /// </summary>
        public decimal? GrxjFj { get; set; }
        /// <summary>
        /// 统筹支付数
        /// </summary>
        public decimal? Tczf { get; set; }
        /// <summary>
        /// 起付段帐户支付数
        /// </summary>
        public decimal? GrzlfD { get; set; }
        /// <summary>
        /// 统筹段帐户支付数
        /// </summary>
        public decimal? GrzlfTc { get; set; }
        /// <summary>
        /// 附加段帐户支付数
        /// </summary>
        public decimal? Grzlffj { get; set; }
        /// <summary>
        /// 附加支付数
        /// </summary>
        public decimal? FjBx { get; set; }
        /// <summary>
        /// 交易费用总额
        /// </summary>
        public decimal? Jytotfy { get; set; }
        /// <summary>
        /// 医保结算范围费用总额
        /// </summary>
        public decimal? Totfy { get; set; }
        /// <summary>
        /// 住院费(医保结算范围,下同)
        /// </summary>
        public decimal? Fy01 { get; set; }
        /// <summary>
        /// 诊疗费
        /// </summary>
        public decimal? Fy02 { get; set; }
        /// <summary>
        /// 治疗费
        /// </summary>
        public decimal? Fy03 { get; set; }
        /// <summary>
        /// 护理费
        /// </summary>
        public decimal? Fy04 { get; set; }
        /// <summary>
        /// 手术材料费
        /// </summary>
        public decimal? Fy05 { get; set; }
        /// <summary>
        /// 检查费
        /// </summary>
        public decimal? Fy06 { get; set; }
        /// <summary>
        /// 化验费
        /// </summary>
        public decimal? Fy07 { get; set; }
        /// <summary>
        /// 摄片费
        /// </summary>
        public decimal? Fy08 { get; set; }
        /// <summary>
        /// 透视费
        /// </summary>
        public decimal? Fy09 { get; set; }
        /// <summary>
        /// 输血费
        /// </summary>
        public decimal? Fy10 { get; set; }
        /// <summary>
        /// 输氧费
        /// </summary>
        public decimal? Fy11 { get; set; }
        /// <summary>
        /// 西药费
        /// </summary>
        public decimal? Fy12 { get; set; }
        /// <summary>
        /// 中成药费
        /// </summary>
        public decimal? Fy13 { get; set; }
        /// <summary>
        /// 中草药费
        /// </summary>
        public decimal? Fy14 { get; set; }
        /// <summary>
        /// 其它费
        /// </summary>
        public decimal? Fy15 { get; set; }
        /// <summary>
        /// 非医保结算范围个人自费
        /// </summary>
        public decimal? Zf { get; set; }
        /// <summary>
        /// 分类个人自负
        /// </summary>
        public decimal? Flgrzf { get; set; }
        /// <summary>
        /// 分类住院费
        /// </summary>
        public decimal? Fy20 { get; set; }
        /// <summary>
        /// 分类诊疗费
        /// </summary>
        public decimal? Fy21 { get; set; }
        /// <summary>
        /// 分类治疗费
        /// </summary>
        public decimal? Fy22 { get; set; }
        /// <summary>
        /// 分类护理费
        /// </summary>
        public decimal? Fy23 { get; set; }
        /// <summary>
        /// 分类手术材料费
        /// </summary>
        public decimal? Fy24 { get; set; }
        /// <summary>
        /// 分类检查费
        /// </summary>
        public decimal? Fy25 { get; set; }
        /// <summary>
        /// 分类摄片费
        /// </summary>
        public decimal? Fy26 { get; set; }
        /// <summary>
        /// 分类摄片费
        /// </summary>
        public decimal? Fy27 { get; set; }
        /// <summary>
        /// 分类透视费
        /// </summary>
        public decimal? Fy28 { get; set; }
        /// <summary>
        /// 分类输血费
        /// </summary>
        public decimal? Fy29 { get; set; }
        /// <summary>
        /// 分类输氧费
        /// </summary>
        public decimal? Fy30 { get; set; }
        /// <summary>
        /// 分类西药费
        /// </summary>
        public decimal? Fy31 { get; set; }
        /// <summary>
        /// 分类中成药费
        /// </summary>
        public decimal? Fy32 { get; set; }
        /// <summary>
        /// 分类中草药费
        /// </summary>
        public decimal? Fy33 { get; set; }
        /// <summary>
        /// 分类其它费
        /// </summary>
        public decimal? Fy34 { get; set; }
        /// <summary>
        /// 保健情况
        /// </summary>
        public string? Bjqk { get; set; }
        /// <summary>
        /// DAA
        /// </summary>
        public string? Daa { get; set; }
        /// <summary>
        /// 医院机构代码
        /// </summary>
        public string? Yyid { get; set; }
        /// <summary>
        /// 医保交易流水号
        /// </summary>
        public string? Lsh { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 医保交易时间
        /// </summary>
        public string? YbReturntime { get; set; }
        /// <summary>
        /// 账户标识
        /// </summary>
        public string? ActFlag { get; set; }
        /// <summary>
        /// 当年账户余额
        /// </summary>
        public decimal? RemCur { get; set; }
        /// <summary>
        /// 历年账户余额
        /// </summary>
        public decimal? RemHis { get; set; }
        /// <summary>
        /// 状态（0正常1注销2红冲）
        /// </summary>
        public byte? Status { get; set; }
        /// <summary>
        /// 减负标志
        /// </summary>
        public string? JfFlag { get; set; }
        /// <summary>
        /// 减负总金额
        /// </summary>
        public decimal? JfFeesTotal { get; set; }
        /// <summary>
        /// 减负金额
        /// </summary>
        public decimal? JfFees { get; set; }
        /// <summary>
        /// 真实时间
        /// </summary>
        public DateTime? RealFromDate { get; set; }
        /// <summary>
        /// 医院id
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 共济账户基金支付
        /// </summary>
        public decimal? Grzfg { get; set; }
        /// <summary>
        /// 起付段共济帐户支付数 
        /// </summary>
        public decimal? Qfdgjzhzfs { get; set; }
        /// <summary>
        /// 统筹段共济帐户支付数
        /// 
        /// </summary>
        public decimal? Tcdgjzhzfs { get; set; }
        /// <summary>
        /// 附加段共济帐户支付数
        /// 
        /// </summary>
        public decimal? Fjdgjzhzfs { get; set; }
        public string? InsuplcAdmdvs { get; set; }
        public string? InsuranceType { get; set; }
        public string? MedListCodg { get; set; }
        public decimal? DrugFee { get; set; }
        public decimal? DatiFee { get; set; }
        public decimal? MsFee { get; set; }
        public decimal? CashPay { get; set; }
        public decimal? AccountPay { get; set; }
        public decimal? MafPay { get; set; }
        public decimal? BclassSelfpay { get; set; }
        public decimal? OverlmtSelfpay { get; set; }
        public decimal? PayStandardSelfpay { get; set; }
        public decimal? PubTotal { get; set; }
        public decimal? BclassPubpay { get; set; }
        public decimal? MafTotal { get; set; }
        public decimal? BclassMafpay { get; set; }
        public decimal? FitMafTotal { get; set; }
        public decimal? CvlservMafPay { get; set; }
        public decimal? OverCappingLineTotal { get; set; }
        public decimal? OutpatientHifpPay { get; set; }
        public decimal? TreatmentTotal { get; set; }
        public decimal? EmergencyTotal { get; set; }
        public decimal? BaseSelfPay { get; set; }
        public decimal? BaseOwnPay { get; set; }
        public decimal? LargeSelfPay { get; set; }
        public decimal? LargeOwnPay { get; set; }
        public decimal? CvlservBalancedPay { get; set; }
        public string? InhosCnt { get; set; }
        public decimal? ChrodiseTotal { get; set; }
        public decimal? InjuryBoardTotal { get; set; }
        public decimal? OthrMafPay { get; set; }
        public string? InsurePlace { get; set; }
        public string? HospPlace { get; set; }
        public decimal? BclassDrugTotal { get; set; }
        public decimal? BclassDiagTotal { get; set; }
        public decimal? BclassMaterialTotal { get; set; }
        public decimal? BclassOthrTotal { get; set; }
        public decimal? AclassTotal { get; set; }
        public decimal? OverBedTotal { get; set; }
        public string? FullAdvance { get; set; }
        public string? SettleId { get; set; }
        /// <summary>
        /// 符合报销费用（湖北工伤）
        /// </summary>
        public decimal? InscpAmt { get; set; }
        /// <summary>
        /// 工伤基金支付（湖北工伤）
        /// </summary>
        public decimal? InjuryPay { get; set; }
        /// <summary>
        /// 丙类自理费用（湖北工伤）
        /// </summary>
        public decimal? CclassOwnpayAmt { get; set; }
        /// <summary>
        /// 工伤医疗待遇类别（湖北工伤）11在职21退休
        /// </summary>
        public string? TreatmentType { get; set; }
        /// <summary>
        /// 经办机构编码（湖北工伤）
        /// </summary>
        public string? HospCode { get; set; }
        /// <summary>
        /// 业务周期号（湖北工伤）
        /// </summary>
        public string? MsgId { get; set; }
        /// <summary>
        /// 交易类型（湖北工伤）-1负交易，1正交易
        /// </summary>
        public string? TransType { get; set; }
        /// <summary>
        /// 协议机构交易流水号（湖北工伤)
        /// </summary>
        public string? HospSerialNo { get; set; }
        /// <summary>
        /// 有效标志（湖北工伤）0无效1有效
        /// </summary>
        public string? Valid { get; set; }
        /// <summary>
        /// 协议机构编码（湖北工伤）
        /// </summary>
        public string? InjuryHospCode { get; set; }
        /// <summary>
        /// 发送方报文ID
        /// </summary>
        public string? MsgId1 { get; set; }
    }
}
